//Void ScanLineRGB24ToRGB24(Pixel* dst, Pixel* src, Int32 stride)
//you should assert (dst,src) is valid and stride > 0

//;R0 = dst, R1 = src, R2 = stride

#include <asm.h>

.global C_SYMBOL(ScanLineRGB24ToRGB24)
C_SYMBOL(ScanLineRGB24ToRGB24):

    LDR     R3, [R1], #4

_ScanLineRGB24ToRGB24_Loop:
    STR     R3, [R0], #4
    SUBS    R2, R2, #1
    LDRNE   R3, [R1], #4
    BNE     _ScanLineRGB24ToRGB24_Loop

_ScanLineRGB24ToRGB24_End:
    MOV     PC, LR




